package com.chainyoung.component_tmperson.ui.mvp.contract;

import com.chainyoung.common.appcommon.entity.HdWalletCache;
import com.chainyoung.common.mvp.IModel;
import com.chainyoung.common.mvp.IView;
import com.chainyoung.component_tmperson.entity.BrowseCache;
import com.chainyoung.component_tmperson.entity.CoinItem;

import java.util.List;
import java.util.TreeMap;

import io.reactivex.Flowable;

public interface ConfirmPinCodeContract {

    interface View extends IView {

        void onAddHdWalletCacheSuccess(HdWalletCache data);

        void onGetAllHdWalletCaches(List<HdWalletCache> datas);


    }

    interface Model extends IModel {

        Flowable<HdWalletCache> addHdWalletCache(HdWalletCache item);

        Flowable<List<HdWalletCache>> getAllHdWalletCaches(String coinType);


    }

}
